package edu.ustb.mis.dm.model;

import java.io.Serializable;
import edu.ustb.mis.excel.annotation.Excel;

public class PairModel implements Serializable {
	private static final long serialVersionUID = -973700500505304959L;

	@Excel(exportName = "实例1")
	private String name1;

	@Excel(exportName = "实例2")
	private String name2;

	@Excel(exportName = "差异度")
	private double dissimilarity;

	public PairModel(final String name1, final String name2, final double dissimilarity) {
		this.name1 = name1;
		this.name2 = name2;
		this.dissimilarity = dissimilarity;
	}

	public double getDissimilarity() {
		return dissimilarity;
	}

	public String getName1() {
		return name1;
	}

	public String getName2() {
		return name2;
	}

	public void setDissimilarity(final double dissimilarity) {
		this.dissimilarity = dissimilarity;
	}

	public void setName1(final String name1) {
		this.name1 = name1;
	}

	public void setName2(final String name2) {
		this.name2 = name2;
	}
}
